all

inline fun all(predicate: (L) -> Boolean): Boolean

Returns the result of applying the predicate to the value if this is Left or true if this is Right.

Return

The result of applying the predicate to the value if this is Left or true if this is Right.

Parameters

predicate

Predicate function.